$(function() {
	my_vue = new Vue({
		el: '#vue_info',
		data: {
			
		},
		methods: {

			changeOp: function(type) {
				//tab 值 控制左边栏的模块   1:政务 2:我的空间 3:便民服务 4:扫码查询
				
				if(type == 'myspace') {
					sessionStorage.setItem("tab","2");
					window.location = "readIdentityCard.html?fromSpace=1";
				} else if(type == 'scanner'){
					sessionStorage.setItem("tab","4");
					window.location = "scannerIndex.html?fromSpace=1";
				} else if(type == 'guide'){
					window.location = "../guide/guide-index.html";
				} else if(type == 'advice') {
					window.location = "readIdentityCard.html?fromWhere=advice";
					//window.location = "../advice/advice-index.html";
				} else if(type == 'complain') {
					window.location = "readIdentityCard.html?fromWhere=complain";
					//window.location = "../complain/complain-index.html";
				} else if(type == 'message') {
					window.location = "../message/message-index.html";
				} else if(type == 'ask') {
					window.location = "face2faceWaiting.html?index=consult";
				} else if(type == 'convenience') {
					sessionStorage.setItem("tab","3");
					window.location = "../convenient/convenient-index.html";
				} 
			},
			doSomething: function(type) {
				sessionStorage.setItem("tab","1");
				window.location = "readIdentityCard.html?type=" + type;
			},
		},
		ready: function() {
			//初始化获得总页面数和列表数据
			var url="../up/index.html";
			windowOpen(url);
			sessionStorage.clear();
		}
	});
})